{{- if partial "functions/toc" . -}}
{{- if ne .Type "docs" }}
  <!-- <a class="action action-toc d-none d-xxl-block" href="#postTOC" role="button" title="Table of contents">
    <i class="fas fa-fw fa-list-alt"></i>
  </a> -->
  <!-- 汉化 -->
  <a class="action action-toc d-none d-xxl-block" href="#postTOC" role="button" title="目录">
    <i class="fas fa-fw fa-list-alt"></i>
  </a>
{{- end }}
<!-- <a class="action action-toc d-block d-xxl-none" href="#post-toc-container" role="button" title="Table of contents">
  <i class="fas fa-fw fa-list-alt"></i>
</a> -->
<a class="action action-toc d-block d-xxl-none" href="#post-toc-container" role="button" title="目录">
  <i class="fas fa-fw fa-list-alt"></i>
</a>
{{- end -}}
